<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="/css/bootstrap.css" rel="stylesheet">
</head>
<body>
<div th:include="~{main/index :: nav}"></div>

<h2>我的教班级课程及成绩录入</h2>
<hr>
<div>
    <table class="table table-hover table-striped table-bordered" border="1" width="60%" style="background-color: #ccd3d2">
        <tr>
            <th>班级编号</th>
            <th>班级名称</th>
            <th>课程号</th>
            <th>课程名称</th>
            <th>请选择</th>
        </tr>
        <tr th:each="t:${taskInfos}">
            <form action="/tea/doFind" method="post">
                <td><input type="text" name="clzno"  th:value="${t.clz.clzno}"  readonly></td>
                <td><span th:text="${t.clz.clzname}"/></td>
                <td><input type="text" name="cno"  th:value="${t.course.cno}"  readonly></td>
                <td><span th:text="${t.course.cname}"/></td>
                <td><button class="btn btn-warning"> 检索该班的学生及成绩</button></td>
            </form>
        </tr>

    </table>
</div>

</body>
</html>